package com.example.miniappssm.mapper;

import com.example.miniappssm.bean.Camera;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CameraMapper {

    Camera selectCameraByCameraId(@Param("cameraId") Integer cameraId);

    List<Camera> selectAllCamera();

    void insertCamera(Camera camera);

    void updateCamera(Camera camera);

    void deleteCameraByCameraId(@Param("cameraId") Integer cameraId);
}
